package com.zy.service;

import com.github.pagehelper.PageInfo;
import com.zy.entity.Department;

public interface DepartmentService {
    Department getById(Integer id);

    void save(Department department);

    void updateById(Department department);

    void status(Integer id);

    PageInfo<Department> page(Department department, Integer page, Integer limit);

    void delete(Integer id);
}
